package com.equdao.car_violation_inquiry.service.impl;

import com.equdao.car_violation_inquiry.dao.WebPageViolationDetailDaoMapper;
import com.equdao.car_violation_inquiry.pojo.BasicCarDO;
import com.equdao.car_violation_inquiry.pojo.WebPageViolationDetailDO;
import com.equdao.car_violation_inquiry.service.WebPageViolationDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: 杨忠强
 * @Date: 2018/7/3 16:11
 * @Description:
 */
@Service
public class WebPageViolationDetailServiceImpl implements WebPageViolationDetailService{
    @Autowired
    private WebPageViolationDetailDaoMapper webPageViolationDetailDaoMapper;


    @Override
    public List<WebPageViolationDetailDO> findViolationDetailByFlag(String flag) {
        List<WebPageViolationDetailDO> webPageViolationDetailDOList = webPageViolationDetailDaoMapper.findViolationDetailByFlag(flag);

        return webPageViolationDetailDOList;
    }
}
